home *** CD-ROM | disk | FTP | other *** search
-
-
-
- sssseeeessssmmmmggggrrrr((((1111mmmm)))) sssseeeessssmmmmggggrrrr((((1111mmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- sssseeeessssmmmmggggrrrr - Fibre Channel Drive Enclosure Status/Configuration Command Line
- Interface
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- The command line syntax of sssseeeessssmmmmggggrrrr takes multiple flavors depending on the
- option.
-
- sssseeeessssmmmmggggrrrr ggggeeeettttvvvveeeerrrrssssiiiioooonnnn
- sssseeeessssmmmmggggrrrr ppppoooollllllll
- sssseeeessssmmmmggggrrrr ttttooooppppoooollllooooggggyyyy [----cccc _c_h_a_n_n_e_l-_I_D [----cccc _c_h_a_n_n_e_l-_I_D] . . .
- sssseeeessssmmmmggggrrrr ggggeeeettttssssttttaaaattttuuuussss [----vvvv] [----cccc _c_h_a_n_n_e_l-_I_D] [----eeee _e_n_c_l_o_s_u_r_e-_I_D] . .
- sssseeeessssmmmmggggrrrr rrrreeeemmmmoooovvvveeee ----tttt _t_a_r_g_e_t-_I_D [----tttt _t_a_r_g_e_t-_I_D] . . .
- sssseeeessssmmmmggggrrrr lllleeeeddddoooonnnn ----tttt _t_a_r_g_e_t-_I_D [----tttt _t_a_r_g_e_t-_I_D] . . .
- sssseeeessssmmmmggggrrrr lllleeeeddddooooffffffff ----tttt _t_a_r_g_e_t-_I_D [----tttt _t_a_r_g_e_t-_I_D] . . .
- sssseeeessssmmmmggggrrrr bbbbyyyyppppaaaassssssss ----tttt _t_a_r_g_e_t-_I_D ----pppp _A|_B [----tttt _t_a_r_g_e_t-_I_D ----pppp _A|_B] . . .
- sssseeeessssmmmmggggrrrr uuuunnnnbbbbyyyyppppaaaassssssss ----tttt _t_a_r_g_e_t-_I_D ----pppp _A|_B [----tttt _t_a_r_g_e_t-_I_D ----pppp _A|_B] . . .
- sssseeeessssmmmmggggrrrr iiiinnnnsssseeeerrrrtttt ----eeee _e_n_c_l_o_s_u_r_e-_I_D [----eeee _e_n_c_l_o_s_u_r_e-_I_D] . . .
- sssseeeessssmmmmggggrrrr aaaallllaaaarrrrmmmmoooonnnn ----eeee _e_n_c_l_o_s_u_r_e-_I_D [----eeee _e_n_c_l_o_s_u_r_e-_I_D] . . .
- sssseeeessssmmmmggggrrrr aaaallllaaaarrrrmmmmmmmmuuuutttteeee ----eeee _e_n_c_l_o_s_u_r_e-_I_D [----eeee _e_n_c_l_o_s_u_r_e-_I_D] . . .
- sssseeeessssmmmmggggrrrr aaaallllaaaarrrrmmmmooooffffffff ----eeee _e_n_c_l_o_s_u_r_e-_I_D [----eeee _e_n_c_l_o_s_u_r_e-_I_D] . . .
-
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The sesmgr command is a user front end to sssseeeessssddddaaaaeeeemmmmoooonnnn which collects status
- of all supported fibre channel enclosures and allows for configuration
- changes.
-
-
- CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
- ggggeeeettttvvvveeeerrrrssssiiiioooonnnn This command will report the version level of sssseeeessssmmmmggggrrrr.
-
- ppppoooollllllll This command will request that the daemon re-scan the SAN
- for its configuration and also update the status of all
- known devices. Typically this should only need to be done
- if the SAN configuration is manually changed outside of
- the sesmgr command set.
-
- ttttooooppppoooollllooooggggyyyy This command will print the daemon's understanding of the
- topology of the SAN. It will print all of the drive
- target's worldwide names, port id's, port numbers, and if
- the controller is in loop mode, the name the device is
- known by. A list of all known drive targets which
- sssseeeessssddddaaaaeeeemmmmoooonnnn is not able to manage is also printed. This
- list would include RAIDS (as its not easily possible to
- distinguish them from JBODS), targets in unsupported
- enclosures, and targets in enclosures which do not have
- working devices in the SES capable slots for the ports
- reachable by the host running sssseeeessssddddaaaaeeeemmmmoooonnnn. Targets which
- are not disk drives are ignored by sssseeeessssddddaaaaeeeemmmmoooonnnn.
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- sssseeeessssmmmmggggrrrr((((1111mmmm)))) sssseeeessssmmmmggggrrrr((((1111mmmm))))
-
-
-
- ggggeeeettttssssttttaaaattttuuuussss This command reports status of supported fibre channel
- drive enclosures.
-
- For this option, -v (verbose) alone will print a detailed
- status of all enclosures, -v with specified channel
- numbers will print a detailed status for the enclosures on
- the listed channels. If enclosure arguments are specified
- then a detailed status will be printed for only those
- enclosures (and the -v flag is unnecessary).
-
- If the -v flag is not used, and no arguments are
- specified, then overall summaries of all fibre channel
- controllers will be printed. Or only for the specified
- channels if channel arguments are used.
-
- rrrreeeemmmmoooovvvveeee This command will allow for physical removal of a drive.
- I.E. it will spin-down the specified disk drive, and
- prompt the user for removal, then after all the removes
- have taken place it will SOP_SCAN the effected
- controllers.
-
- Note: This command issues the spindown command to the
- drive immediately which locks the drive heads. However,
- the drive requires additional time to stop rotating and
- will still be turning when the exchange prompt is issued.
-
- iiiinnnnsssseeeerrrrtttt This command will allow for inserting a drive into a
- specified enclosure. I.E. it will prompt for insertion,
- and after all the inserts have taken place, it will spin
- it up the drives, SOP_SCAN the effected controllers, and
- call iiiiooooccccoooonnnnffffiiiigggg to update the hardware graph.
-
- lllleeeeddddoooonnnn This command will turn "ON" the indicator "LED" associated
- with the specified disk device.
-
- lllleeeeddddooooffffffff This command will turn "OFF" the indicator "LED"
- associated with the specified disk device.
-
- bbbbyyyyppppaaaassssssss This command will perform an enclosure bypass to remove
- the specified disk on the specified port from the fibre
- channel loop.
-
- uuuunnnnbbbbyyyyppppaaaassssssss This command will perform an enclosure unbypass to add the
- specified disk on the specified port onto the fibre
- channel loop.
-
- aaaallllaaaarrrrmmmmoooonnnn This command will sound the alarm on the specified
- enclosure.
-
- aaaallllaaaarrrrmmmmooooffffffff This command will turn off the alarm on the specified
- enclosure provided that the enclosure is clear of any
- other hardware conditions which also result in the alarm
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- sssseeeessssmmmmggggrrrr((((1111mmmm)))) sssseeeessssmmmmggggrrrr((((1111mmmm))))
-
-
-
- sounding.
-
- aaaallllaaaarrrrmmmmmmmmuuuutttteeee This command will mute the enclosure's alarm. Generally
- this will result in a periodic reminder tone instead of
- totally silencing it.
-
-
- CCCCOOOOMMMMMMMMAAAANNNNDDDD LLLLIIIINNNNEEEE OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----cccc _c_h_a_n_n_e_l-_I_D Use this option to limit a status command to a particular
- fibre channel controller.
-
- ----eeee _e_n_c_l_o_s_u_r_e-_I_D
- Use this option to specify a particular enclosure.
- Enclosures are identified by a 64 bit hex number similar
- to a world wide name. (Don't forget the 0x prefix on the
- arguments for this option.)
-
- ----tttt _t_a_r_g_e_t-_I_D Use this option to direct an action at a particular drive
- or set of drives. Targets are identified by their world
- wide name, a 64 bit hex number unique to each drive.
- (Don't forget the 0x prefix.) If the target is operating
- on a private loop, it is also possible to specify it by
- its sc* name in /hw/scsi (eg sc4d65l0).
-
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- Obtaining the revision level of the instance of sssseeeessssmmmmggggrrrr running locally
-
- sssseeeessssmmmmggggrrrr ggggeeeettttvvvveeeerrrrssssiiiioooonnnn
-
- sample output:
-
- sesdaemon version 1.0, Thu May 11 18:46:09 PDT 2000
-
-
-
- Obtaining a brief channel status summary:
-
- sssseeeessssmmmmggggrrrr ggggeeeettttssssttttaaaattttuuuussss
-
- sample output:
-
- CHANNEL | DRIVES POWER LCC FANS TEMP ALARM
- --------+--------------------------------------------------
- 2 | NONE NONE NONE NONE NONE NONE
- 3 | OK FAIL OK OK OK ON
- 4 | OK OK OK OK OK NONE
-
- The example shows that channel 3 has one or more enclosures reporting a
- power supply fault and an alarm is sounding. Channel 2 shows "NONE" which
- indicates a few possibilities.
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- sssseeeessssmmmmggggrrrr((((1111mmmm)))) sssseeeessssmmmmggggrrrr((((1111mmmm))))
-
-
-
- o There are no recognized fibre channel enclosures connect to the
- channel.
- o There is a communication problem on the channel.
- o "NONE" can also mean that none of the recognized enclosures support
- that feature. As on channel 4, the enclosures do not include an
- alarm.
-
- Obtaining a detailed status of an enclosure:
-
- sssseeeessssmmmmggggrrrr ggggeeeettttssssttttaaaattttuuuussss ----eeee 0000xxxx55550000000055550000cccccccc00000000000000000000222200005555cccc
-
- sample output:
- Enclosure ID: 0x50050cc00000205c
- Vendor ID: XYRATEX
- Product ID: SS-1202-FCAL
- FRU's (Inst/Max): 11 of 12 drives
- 2 of 3 power supplies
- 1 of 2 recognized lcc's
- Last successful status poll: Tue May 16 17:19:17 2000
-
-
- +---------------------------+ Slot Worldwide Name (*=SES)
- | 1/1 | 2/1 | 3/1 | 4/1 | 1/1 0x20000020374bab85
- | OK | OK | OK | OK | 2/1 0x20000020374bb5e2
- | | | | | 3/1 0x20000020374bb504
- +---------------------------+ 4/1 0x20000020374b17ee
- | 1/2 | 2/2 | 3/2 | 4/2 | 1/2 0x20000020374baf03
- | OK | OUT | OK | OK | 2/2 0x0
- | | | | | 3/2 0x20000020374bafdc
- +---------------------------+ 4/2 0x20000020374b194f
- | 1/3 | 2/3 | 3/3 | 4/3 | 1/3 0x20000020374bb280*
- | OK | OK | OK | OK | 2/3 0x20000020374bb007
- | | | | | 3/3 0x20000020374bafe1
- +---------------------------+ 4/3 0x20000020374bb271*
- FAN0 OK FAN1 OK FAN2 OUT
- PS0 OK PS1 OK PS2 OUT
- TEMP OK 29 C ALARM OK
-
- The example shows that slot 2/2 does not have a drive in it, and both fan
- 2 and power supply 2 are not installed. Also this enclosure either has
- only one fibre channel loop connection or else only one is visible
- (connected) to the host.
-
- Illuminating the LEDs associated with disk 1/1 and 2/1:
-
- sssseeeessssmmmmggggrrrr lllleeeeddddoooonnnn ----tttt 0000xxxx22220000000000000000000022220000333377774444bbbbaaaabbbb88885555 ----tttt 0000xxxx22220000000000000000000022220000333377774444bbbbbbbb5555eeee2222
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-
-
-
- sssseeeessssmmmmggggrrrr((((1111mmmm)))) sssseeeessssmmmmggggrrrr((((1111mmmm))))
-
-
-
- LIMITATIONS
- Commands which change the enclosure status will not be reflected by
- ggggeeeettttssssttttaaaattttuuuussss until the next status poll executes (or until a ppppoooollllllll command is
- run).
-
- Currently the only supported enclosures are the Xyratex 12 slot and
- Clariion 10 slot enclosures.
-
- Not all enclosures will support all commands or types of FRU's. For
- example, the Xyratex 12 slot enclosure does not support enclosure bypass
- and unbypass. And the Clariion enclosure does not have an alarm.
-
- The lllleeeeddddoooonnnn and lllleeeeddddooooffffffff commands may indicate differently depending on the
- enclosure's implementation. For example, the Xyratex 12 will slowly
- blink the activity led when its "on", and leave it lit solidly when
- "off". Clariion enclosures will solidly indicate on the fault LED.
-
- Removing a drive can send a controller into error recovery mode as it
- tries to find the target and bring it back online.
-
- It may take a while for SOP_SCAN and iiiiooooccccoooonnnnffffiiiigggg to complete depending on
- how large and how busy the SAN is.
-
- When a device is specified by its sc* loop name, the code will find that
- device. However commands to that device may use alternate paths.
-
- On ppppoooollllllll updates its possible that failed equipment may disappear and no
- longer be shown as failed. Failed targets can be dropped from the target
- list, but they should still be printed in their enclosure slot by
- ggggeeeettttssssttttaaaattttuuuussss. Enclosures which are no longer reachable (and their targets)
- may be dropped entirely. This is due to a configuration update
- assumption that targets which do not respond were intentionally moved.
-
- bbbbyyyyppppaaaassssssss and uuuunnnnbbbbyyyyppppaaaassssssss can fail if the commands can not be issued on the
- same loop that the specified device's port is on.
-
- If a drive is bypassed so that the system no longer sees an active
- target, and the daemon is restarted, the target may no longer be seen.
- In this situation it will not be possible to issue an unbypass command to
- the target.
-
- In order to run sssseeeessssmmmmggggrrrr under TRIX, the user must have a MAC label of
- dblow and a capability of CAP_PRIV_PORT.
-
-
- DDDDIIIIFFFFFFFFEEEERRRREEEENNNNCCCCEEEESSSS FFFFRRRROOOOMMMM FFFFCCCCCCCCLLLLIIII
- Although the sssseeeessssddddaaaaeeeemmmmoooonnnn/sssseeeessssmmmmggggrrrr utilities are designed to be similar in
- look and functionality, there are some important differences. Here are
- some of these:
-
- Enclosure ID's and target ID's are now 64 bit hex integers.
-
-
-
-
- PPPPaaaaggggeeee 5555
-
-
-
-
-
-
- sssseeeessssmmmmggggrrrr((((1111mmmm)))) sssseeeessssmmmmggggrrrr((((1111mmmm))))
-
-
-
- iiiinnnnsssseeeerrrrtttt now takes an enclosure ID, not a target ID.
-
- An argument id is now required before each one (eg -t) to tell what type
- it is.
-
- Target lists are no longer restricted to an individual controller.
-
- bbbbyyyyppppaaaassssssss and uuuunnnnbbbbyyyyppppaaaassssssss are enclosure commands only. Loop commands are not
- attempted.
-
-
- FFFFIIIILLLLEEEESSSS
- /usr/sbin/sesmgr
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ioconfig(1M), scsiha(7), sesdaemon(1M)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 6666
-
-
-
-